<?php

/***
 * 描述：店铺业务处理模型
 * @category		Lib
 * @package			Model			
 * @subpackage	
 * @author			wanght <whtaok@gmail.com>
 * @since			2013-7-30
 * @version			$Id: ShopModel.class.php 3 2013-10-14 02:49:41Z whtaok@gmail.com $
 */
class ShopModel {
	public static function findDetailWithUsers($shop_id){
		$mod = new ShopLibModel();
		$shop = $mod->find($shop_id);
		$mod = new ShopUserModel();
		$modWhere['shop_id'] = $shop_id;
		$users = $mod->where($modWhere)->select();
		return array($shop,$users);
	}
}

?>